package com.jouwee.paranoia;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Jouwee
 */
public class LogHandler {
    
    /** List of events */
    private List<Event> events;

    public LogHandler() {
        events = new ArrayList<>();
    }
    
    /**
     * Add the event.
     * 
     * @param e 
     */
    public void add(Event e) {
        events.add(e);
        System.out.println("Event added (now " + events.size() + " events): " + e.toString());
    }
    
}
